package cn.wolfcode.shop;

import com.alibaba.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.PropertySource;

/**
 * 将Zookeper和redis配置文件读取到应用环境中.来配置注册中心
 * 和提供创建redis连接池的配置信息
 */
@SpringBootApplication
@EnableDubbo
@PropertySource({"classpath:zookeeper.properties","classpath:redis.properties"})
public class MemberServer {
    public static void main(String[] args) {
        SpringApplication.run(MemberServer.class,args);
    }

}
